package com.mybatis_plus.study.mybatis_plus_study_demo.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author fangjicai
 * @since 2020-04-08
 */
public class TOrder extends Model<TOrder> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * Ա
     */
    private Integer memberId;

    /**
     * ԼԤ
     */
    @TableField("orderDate")
    private LocalDate orderDate;

    /**
     * ԼԤ
     */
    @TableField("orderType")
    private String orderType;

    /**
     * ԤԼ״̬
     */
    @TableField("orderStatus")
    private String orderStatus;

    private Integer setmealId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public LocalDate getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(LocalDate orderDate) {
        this.orderDate = orderDate;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getSetmealId() {
        return setmealId;
    }

    public void setSetmealId(Integer setmealId) {
        this.setmealId = setmealId;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "TOrder{" +
        ", id=" + id +
        ", memberId=" + memberId +
        ", orderDate=" + orderDate +
        ", orderType=" + orderType +
        ", orderStatus=" + orderStatus +
        ", setmealId=" + setmealId +
        "}";
    }
}
